﻿// <copyright file="ActionParameters.cs" company="TenneySoftware">
// Copyright (c) 2009 All Right Reserved
// </copyright>
// <author>Robert Tenney</author>
// <email>rob10e@yahoo.com</email>
// <date>April 2009</date>
// <summary>The action class defines all possible actions by characters, and stores which actions a character can perform.</summary>

// License:

// Product: RPGRoguelikeEngine .Net
// Author: Robert N. Tenney
// Copyright: April 2009

// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation version 2
// of the License.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

// This license covers all source code, binaries, and other materials related to this project
// unless specifically stated otherwise.

using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;

using TenneySoftware.Engine.Algorithms.Pathfinder;

namespace TenneySoftware.Engine.Characters {
    /// <summary>
    /// Stores all of the action parameters.
    /// </summary>
    public class ActionParameters {
        /// <summary>
        /// Location parameter.
        /// </summary>
        private Point location;

        /// <summary>
        /// Action Redirect delegate.
        /// </summary>
        private ActionRedirect redirect;

        /// <summary>
        /// Initializes a new instance of the ActionParameters class.
        /// </summary>
        /// <param name="redirect">Action redirection delegate.</param>
        public ActionParameters(ActionRedirect redirect) {
            this.redirect = redirect;
        }

        /// <summary>
        /// Gets or sets the action redirect delegate.
        /// </summary>
        /// <value>
        /// The action redirect delegate.
        /// </value>
        public ActionRedirect Redirect {
            get {
                return this.redirect;
            }
            
            set {
                this.redirect = value;
            }
        }

        /// <summary>
        /// Gets or sets the location parameter.
        /// </summary>
        /// <value>
        /// The location parameter.
        /// </value>
        public Point Location {
            get {
                return this.location;
            }

            set {
                this.location = value;
            }
        }
    }
}
